<div id="loginform">
	<p>You are not logged in.  Please log in or <a href="register.php">register</a>.</p>
    
    
    <form method="post" action="login.php">
    <input type="hidden" id="action" name="action" value="login" />
    <input type="hidden" id="referer" name="referer" value="<?=$referer?>" />
    
    <label for="email" class="width10em textalignleft"><small>Your e-mail address:</small></label><br /> 
	<input type="text" size="30" id="email" name="email" value="<?=$email?>" /> <br />    
	
    <label for="password" class="width10em textalignleft"><small>Your password:</small></label><br /> 
	<input type="password" id="password" name="password" value="<?=$password?>" /><br /><br />    
    
	<label>
		<input type="submit" value="login" class="button" /> &nbsp; 
		<small><a href="password_reset.php">Forgot your password?</a></small>
	</label>
    
    </form>
</div>
    